<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
<title>region</title>
<meta name="decorator" content="default" />
<link rel="stylesheet" href="${ctxStatic}/colorpicker/css/colorPicker.css" type="text/css"/>
<script type="text/javascript" src="${ctxStatic}/colorpicker/js/jquery.colorPicker.js"></script>
<script type="text/javascript" src="${ctxStatic}/modules/grid/region.js"></script>
</head>
<body>

<div id="toolbar">
        <!-- 展示人员信息表的table  -->
	   	<table cellspacing="0" cellpadding="0">
			<tr>
				<td><a href="javascript:void(0)" class="easyui-linkbutton" plain="true" iconcls="icon-add" onclick="regionNew.showForm()">添加</a></td>
				<td><div class="datagrid-btn-separator"></div></td>
				<td><a href="javascript:void(0)" class="easyui-linkbutton" plain="true" iconcls="icon-edit" onclick="regionNew.showEditForm()">修改</a></td>
				<td><div class="datagrid-btn-separator"></div></td>
				<td><a href="javascript:void(0)" class="easyui-linkbutton" plain="true" iconcls="icon-remove" onclick="regionNew.remove()">删除</a></td>
				<td><div class="datagrid-btn-separator"></div></td>
				<td><a href="javascript:void(0)" id="cc" class="easyui-combobox"
					plain="true"
					data-options="onSelect:regionNew.search,valueField:'id',textField:'name',url:'${ctx}/rest/gcb/grid/findList',method:'post',onLoadSuccess:function(){var data = $('#cc').combobox('getData');$('#cc').combobox('select',data[0].id);}">
				</a></td>
			</tr>
		</table>
</div>

</body>
</html>